bug fix for oh-my-zsh
authorCMGS <ilskdw@gmail.com>
Thu, 20 Nov 2014 06:50:26 +0000 (14:50 +0800)
committerCMGS <ilskdw@gmail.com>
Thu, 20 Nov 2014 06:50:26 +0000 (14:50 +0800)
src/etc/_cargo

index 9fbb643c057deb5656b881433975b8bbaa04ab4a..2814a9902afed1087149afe719ca8bcb8f8ecc5d 100644 (file)
@@ -273,7 +273,7 @@ _describe 'command' commands
 _get_package_names(){
 local manifest=$(_locate_manifest)
 local -a packages;packages=()
-if ! [[ $manifest ]]; then
+if ![[ $manifest ]]; then
     return 0
 fi
 
@@ -307,7 +307,7 @@ echo $manifest
 _test_names(){
 local -a filelist;
 local manifest=$(_locate_manifest)
-if ! [[ $manifest ]]; then
+if ![[ $manifest ]]; then
     return 0
 fi